#include "InputDevice.h"


InputDevice::InputDevice(void)
{
	type = unknown;
}


InputDevice::~InputDevice(void)
{
	//is the following required?
	keyDown.disconnect_all();
	keyUp.disconnect_all();
}

sigslot::signal1<const InputEvent&>& InputDevice::sigKeyDown()
{
	return keyDown;
}

sigslot::signal1<const InputEvent&>& InputDevice::sigKeyUp()
{
	return keyUp;
}

sigslot::signal1<const InputEvent&>& InputDevice::sigMove()
{
	return move;
}


unsigned int InputDevice::getType()
{
	return type;
}
